package com.appleyk.config6;

import com.appleyk.annotation.EnableRegistrarService;
import com.appleyk.service.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>越努力，越幸运</p>
 *
 * @author appleyk
 * @version V.0.1.1
 * @blob https://blog.csdn.net/appleyk
 * @date created on  11:09 下午 2020/12/9
 */
@Configuration
@EnableRegistrarService("TestServiceC")
public class ConfigA {
    @Bean
    public Person person(){
        return new Person();
    }
}

